<include file='Public:head'/>
<include file='Public:header'/>

    
    <div class="container" style="margin-top:60px;">
        <div class="row">
           <div class="span8">
                <h2 class="text-center">圈子列表</h2>
                <ul class="myul">
                    <volist name="circle" id="c">
                        <li>
                            <a href="{:U(GROUP_NAME . '/Circle/circle', array('c_id' => $c['c_id']))}">
                            {$c.docname}
                            </a>
                            <h6>
                                {$c.intro}
                            </h6>
                            <div class="text-right">
                                <label for="">圈主：<a href="">{$c.username}</a></label>
                                <label for="">{$c.createtime}</label>
                            </div>
                        </li>
                    </volist>
                </ul>
                <div class="pagination pagination-centered">
                    <ul>
                        <label>当前&nbsp;{$page.nowPage}&nbsp;页/共&nbsp;{$page.totalPages}&nbsp;页</label>
                        <li><a href="__ACTION__/p/{$page.firstPage}">第一页</a></li>
                        <li><a href="__ACTION__/p/{$page.prePage}">上一页</a></li>
                        <li><a href="__ACTION__/p/{$page.nextPage}">下一页</a></li>
                        <li><a href="__ACTION__/p/{$page.totalPages}">最后一页</a></li>
                    </ul>
                </div>
            </div>
            <div class="span4">
                <h2 class="text-center">热门圈子</h2>
                <ul class="myul">
                    <volist name="hotCircle" id="hc">
                        <li>
                            <label for="">
                                <a href="">{$hc.docname}</a>
                                <span style="float:right">热度：{$hc.hot}</span>
                            </label>
                            <h6>
                                {$hc.intro}
                            </h6>
                            <div class="text-right">
                                <label for="">圈主：<a href="">{$hc.username}</a></label>
                                <label for="">{$hc.createtime}</label>
                            </div>
                        </li>
                            
                    </volist>
                    
                </ul>
            </div> 
        </div>
            
    </div>
<include file='Public:footer/'>
<style>
  body{
    background: url("__PUBLIC__/imgs/sandpaper.png");
    }
  .text-center{
    margin-left: 25px;
    text-align: left;  
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #555;
    font-family: "微软雅黑"; 
    }
  .myul li{
    font-family: "微软雅黑";
    font-weight: thin;
    display: block;
    width: 95%;
    border-radius: 5px;
    border: 1px dashed #ccc;
    height: auto;
    line-height: 40px;
    margin-top: 8px;
    padding:10px;
    color: gray;
    font-size: 18px;
    background: #eee;
  }
</style>